home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr52
/
ncclib.zip
/
NCCBAR.DOC
< prev
next >
Wrap
Text File
|
1993-05-02
|
5KB
|
60 lines
┌──────────────────────────────────────────────────────────────────┬───────────┐
│Instance Variables Value Description │ NccBar │
├─────────────────┬─────────────┬──────────────────────────────────┴───────────┤
│MenusActive │ <lExp> │ Flag indicating if the pull down menus are │
│ │ │ active │
│MouseActive │ <lExp> │ Flag indicating if the bar system is to use │
│ │ │ the attached mouse │
│BarReader │ <{|b|...}> │ Get/Set current Reader for Bar system │
│PromptSpace │ <nExp> │ Get/Set number of spaces between each prompt │
│ │ │ on the bar │
│Menus │ <aExp> │ Get/Set array of menu objects attached to │
│ │ │ the bar │
│Prompts │ <aExp> │ Get/Set array of prompt objects attached to │
│ │ │ the bar │
│Row │ <nExp> │ Get/Set the row on which the bar is to reside│
│StandardColor │ <cExp> │ Default color of the bar │
│Inversecolor │ <cExp> │ Color of the current prompt on the bar │
│Lettercolor │ <cExp> │ Color of quick letter for each prompt │
│Grayedcolor │ <cExp> │ Color of unselectable prompts │
└─────────────────┴─────────────┴──────────────────────────────────────────────┘
┌──────────────────────────────────────────────────────────────────┬───────────┐
│Method Functions Description │ NccBar │
├──────────────────────────────┬───────────────────────────────────┴───────────┤
│Activate() │ Give control to the Bar using the Bar reader │
│Terminate() │ Release the Bar │
│Show([<nCurrent>]) │ Display the bar at its current selection or │
│ │ prompt number <nCurrent> │
│Hide() │ Hide the bar from the screen │
│Left() │ Move Left on the bar │
│Right() │ Move Right on the bar │
│HighLight() │ Display the current item on the bar │
│Display() │ Display the bar │
│DehighLight() │ Display the current item in Standard color │
│AddMenuPrompt( <nId> , ; │ Id of prompt on bar │
│ <cTitle> , ; │ Text of prompt on bar │
│ <oMenu> , ; │ Menu object to activate when selected │
│ <lActive> ; │ Flag indicating if prompt is selectable │
│ ) │ │
│Barchoice( <nCur> , ; │ Get/Set Current prompt on bar │
│ [<lNoDisplay>] ; │ Flag indicating if bar is to show itself now │
│ ) │ │
│BarSelection() │ Return id of prompt selected from bar │
│MenuChoice( <nCur> , ; │ Get/Set current prompt on menu │
│ [<lNoDisplay>] ; │ Flag indicating if menu is to show itself now │
│ ) │ │
│MenuSelection() │ Return id of last selection from bar system │
│PromptActive( <nId> , ; │ id of prompt to Get/Set │
│ [<lExp>] ; │ Flag indicating active state of prompt │
│ ) │ │
│isActivateKey( <nKey> ) │ Test if nKey is an Activate key │
│isQuickKey( <nKey> ) │ Test if nKey is a Quick key │
│PromptQuickKey( <nId> , ; │ Id to return when key is pressed │
│ <nKey> ; │ Quick key to Attach to bar │
│ ) │ │
│KeySeek(<nKey>) │ return pointer to where <nKey> was found in │
│ │ prompts │
└──────────────────────────────┴───────────────────────────────────────────────┘